using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.BusinessService.DataContract.Structure
{
    public sealed class OrderNewData
    {
        private DateTime mTransDate;
        public System.DateTime TransDate
        {
            get { return mTransDate; }
            set { mTransDate = value; }
        }

        private string mTimeStamp;
        public string TimeStamp
        {
            get { return mTimeStamp; }
            set { mTimeStamp = value; }
        }

        private string mOrderNumber;
        public string OrderNumber
        {
            get { return mOrderNumber; }
            set { mOrderNumber = value; }
        }

        private string mClientID;
        public string ClientID
        {
            get { return mClientID; }
            set { mClientID = value; }
        }

        private string mSecuritySymbol;
        public string Symbol
        {
            get { return mSecuritySymbol; }
            set { mSecuritySymbol = value; }
        }

        private string mSide;
        public string Side
        {
            get { return mSide; }
            set { mSide = value; }
        }

        private long mVolume;
        public long Volume
        {
            get { return mVolume; }
            set { mVolume = value; }
        }

        private long mPublishedVolume;
        public long PublishedVolume
        {
            get { return mPublishedVolume; }
            set { mPublishedVolume = value; }
        }

        private string mPrice;
        public string Price
        {
            get { return mPrice; }
            set { mPrice = value; }
        }

        private string mBoard;
        public string Board
        {
            get { return mBoard; }
            set { mBoard = value; }
        }

        private string mPortClientFlag;
        public string PortClientFlag
        {
            get { return mPortClientFlag; }
            set { mPortClientFlag = value; }
        }


        public OrderNewData(string timestamp, string ordernum, string client, string symbol, string side, long vol, long pubvol, string price, string board, string pcflag)
        {
            this.mTimeStamp = timestamp;
            this.mOrderNumber = ordernum;
            this.mClientID = client;
            this.mSecuritySymbol = symbol;
            this.mSide = side;
            this.mVolume = vol;
            this.mPublishedVolume = pubvol;
            this.mPrice = price;
            this.mBoard = board;
            this.mPortClientFlag = pcflag;
        }
        public OrderNewData(DateTime transdate, string timestamp, string ordernum, string client, string symbol, string side, long vol, long pubvol, string price, string board, string pcflag)
        {
            this.mTransDate = transdate;
            this.mTimeStamp = timestamp;
            this.mOrderNumber = ordernum;
            this.mClientID = client;
            this.mSecuritySymbol = symbol;
            this.mSide = side;
            this.mVolume = vol;
            this.mPublishedVolume = pubvol;
            this.mPrice = price;
            this.mBoard = board;
            this.mPortClientFlag = pcflag;
        }
    }
}
